package com.lmq.wxshare;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.lmq.wxshare.mapper")
public class WxshareApplication {

    protected final static Logger logger = LoggerFactory.getLogger(WxshareApplication.class);

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(WxshareApplication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
        logger.info("PortalApplication is sussess!");
        System.err.println("sample started. http://localhost:8080/page/index");
    }
}
